package com.hxkj.service;

import com.hxkj.domain.po.FunctionLibrary;
import com.hxkj.domain.po.FunctionLibraryTree;

import java.util.List;

/**
 * @ClassName FunctionLibraryService
 * @Description TODO
 * @Author Mr.zheng
 * @Date 2018/6/27 12:38
 * @Version 1.0
 */
public interface FunctionLibraryService {

    /**
     * @Description saveFunctionLibrary 新增功能
     **/
    void saveFunctionLibrary(FunctionLibrary functionLibrary) throws Exception;

    /**
     * @Description modifyFunctionLibrary 修改功能
     **/
    void modifyFunctionLibrary(FunctionLibrary functionLibrary) throws Exception;

    /**
     * @Description getFunctionLibraryListTree 获取功能树
     **/
    List<FunctionLibraryTree> getFunctionLibraryListTree(FunctionLibrary functionLibrary) throws Exception;

    /**
     * @Description getShowFunctionLibraryListTree 获取状态启用的功能树
     **/
    List<FunctionLibraryTree> getShowFunctionLibraryListTree(FunctionLibrary functionLibrary) throws Exception;

    /**
     * @Description removeFunctionLibrary 删除功能
     **/
    void removeFunctionLibrary(FunctionLibrary functionLibrary) throws Exception;

    /**
    * @Description functionToSite 为站点分配功能
    **/
    void functionToSite(FunctionLibrary functionLibrary) throws Exception;
}
